package com.aaa.service;

import com.aaa.entity.Staff;

import java.util.Map;

public interface StaffService {


    public Staff login(String staffId, String password);

    int updateStaffByStaffId(Staff staff);

    int addStaffByStaffId(Staff staff);

    /**
     * 分页查询所有学生的信息
     * @param pageNumber
     * @param pageSize
     * @return
     */
    Map<String,Object> getAllStaffInfo(Integer pageNumber, Integer pageSize, String searchStuno, String searchName)throws Exception;
    /**
     * 修改员工密码
     * @param staffId
     * @param password
     * @return
     */
    int updateStaffPass(Integer staffId, String password);

}
